package com.yu.subject.domain.service;

import com.yu.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

/**
 * @author 路亚
 * @version 0.1
 * @className SubjectCategoryDomainService
 * @description
 * @date 2024/12/21 20:20
 * @since jdk11
 */
public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> queryPrimaryCategory();

    List<SubjectCategoryBO> queryCategoryByPrimary(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新分类
     * @param subjectCategoryBO
     */
    void updateById(SubjectCategoryBO subjectCategoryBO);

    void deleteById(Long id);
}
